package executor.register.annotation;

import java.lang.annotation.*;

/**
 * 自动注入属性
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface JobHandlerAutoRegister {
    
    int jobGroup() default 1;

    String jobDesc() default "scheduled task";

    String executorRouteStrategy() default "CONSISTENT_HASH";

    //0 30 6 * * ?
    String jobCron();

    //glueType: BEAN
    String glueType() default "BEAN";

    String executorParam() default "";

    String childJobId() default "";

    int executorTimeout() default 0;

    String executorBlockStrategy() default "DISCARD_LATER";

    int executorFailRetryCount() default 0;

    String author() default "evan";

    String alarmEmail() default "";

    String glueRemark() default "GLUE代码初始化";

    String glueSource() default "";
}
